

<?php $form=$this->beginWidget('CActiveForm', array(
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>

<div class="container">
<br>
<br>

<?php echo $form->textField($model,'username',array('size'=>40,'maxlength'=>40,'class'=>'form-control','placeholder'=>'Nombre de Usuario')); ?> 
</br>
<?php echo $form->passwordField($model,'password',array('size'=>40,'maxlength'=>40,'class'=>'form-control','placeholder'=>'Contraseña')); ?>

<?php echo $form->checkBox($model,'rememberMe', array('id'=>'vinculo2')); ?>

<?php echo $form->label($model,'rememberMe', array('id'=>'vinculo2')); ?>


<?php echo CHtml::submitButton('¡Entrar!', array('class'=>'btn btn-primary btn-lg', 'id'=>'botonlisto')); ?>

<?php $this->endWidget(); ?>
</br>
</br>
</br>
</div>